<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>Giveda® Embedded Midware: API/gGlobal.h 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">Giveda® Embedded Midware
   &#160;<span id="projectnumber">1.2.0</span>
   </div>
   <div id="projectbrief">本文档受《版权法》、《版权公约》保护。深圳技达®版权所有</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="namespaces.html"><span>命名空间</span></a></li>
      <li><a href="annotated.html"><span>类</span></a></li>
      <li class="current"><a href="files.html"><span>文件</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>文件列表</span></a></li>
      <li><a href="globals.html"><span>文件成员</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>全部</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>类</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>命名空间</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>文件</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>函数</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>变量</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>类型定义</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>枚举</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>枚举值</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>友元</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>宏定义</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark">&#160;</span>页</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_19ea4dbfe8f0e4681f60b9b97f7b5d11.html">API</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#namespaces">命名空间</a> &#124;
<a href="#define-members">宏定义</a> &#124;
<a href="#typedef-members">类型定义</a> &#124;
<a href="#enum-members">枚举</a> &#124;
<a href="#func-members">函数</a>  </div>
  <div class="headertitle">
<div class="title">gGlobal.h 文件参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>一些常用的宏定义／枚举／和函数  
<a href="#details">更多...</a></p>
<div class="textblock"><code>#include &lt;<a class="el" href="config__giveda_8h.html">config_giveda.h</a>&gt;</code><br/>
<code>#include &lt;<a class="el" href="g_const_define_8h.html">gConstDefine.h</a>&gt;</code><br/>
<code>#include &lt;<a class="el" href="g_ctrl_dll_sym_8h.html">gCtrlDllSym.h</a>&gt;</code><br/>
<code>#include &lt;string.h&gt;</code><br/>
<code>#include &lt;stdint.h&gt;</code><br/>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
命名空间</h2></td></tr>
<tr class="memitem:namespace_giveda"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_giveda.html">Giveda</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
宏定义</h2></td></tr>
<tr class="memitem:aedf7620bb172988301822508782a6262"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="g_global_8h.html#aedf7620bb172988301822508782a6262">G_UNUSED</a>(a)&#160;&#160;&#160;(a)=(a)</td></tr>
<tr class="memdesc:aedf7620bb172988301822508782a6262"><td class="mdescLeft">&#160;</td><td class="mdescRight">未使用的变量在编译时会造成编译器警告，使用此宏来解决编译器警告  <a href="#aedf7620bb172988301822508782a6262">更多...</a><br/></td></tr>
<tr class="separator:aedf7620bb172988301822508782a6262"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9bbcd82e77c41df827c09759def05c9a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="g_global_8h.html#a9bbcd82e77c41df827c09759def05c9a">SAFE_DELETE</a>(p)&#160;&#160;&#160;if( p ) { delete p; p = NULL; }</td></tr>
<tr class="memdesc:a9bbcd82e77c41df827c09759def05c9a"><td class="mdescLeft">&#160;</td><td class="mdescRight">很方便地delete 对象  <a href="#a9bbcd82e77c41df827c09759def05c9a">更多...</a><br/></td></tr>
<tr class="separator:a9bbcd82e77c41df827c09759def05c9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a01b7a40e2ef3d16655c67ad809545848"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="g_global_8h.html#a01b7a40e2ef3d16655c67ad809545848">G_DISABLE_COPY_1</a>(Class)</td></tr>
<tr class="memdesc:a01b7a40e2ef3d16655c67ad809545848"><td class="mdescLeft">&#160;</td><td class="mdescRight">在ANSI c++标准下，使用此宏去禁用拷贝构造函数  <a href="#a01b7a40e2ef3d16655c67ad809545848">更多...</a><br/></td></tr>
<tr class="separator:a01b7a40e2ef3d16655c67ad809545848"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c4607edf7ad67ffe5224d0a57fc4d04"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="g_global_8h.html#a7c4607edf7ad67ffe5224d0a57fc4d04">G_DISABLE_COPY</a>(Class, BClass)</td></tr>
<tr class="memdesc:a7c4607edf7ad67ffe5224d0a57fc4d04"><td class="mdescLeft">&#160;</td><td class="mdescRight">在ANSI c++标准下，使用此宏去禁用拷贝构造函数  <a href="#a7c4607edf7ad67ffe5224d0a57fc4d04">更多...</a><br/></td></tr>
<tr class="separator:a7c4607edf7ad67ffe5224d0a57fc4d04"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c0608f4c8b10a21338b04aa4db9a962"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="g_global_8h.html#a1c0608f4c8b10a21338b04aa4db9a962">G_DISABLE_ASSIGN</a>(Class)</td></tr>
<tr class="memdesc:a1c0608f4c8b10a21338b04aa4db9a962"><td class="mdescLeft">&#160;</td><td class="mdescRight">在ANSI c++标准下，使用此宏去禁用operator=函数  <a href="#a1c0608f4c8b10a21338b04aa4db9a962">更多...</a><br/></td></tr>
<tr class="separator:a1c0608f4c8b10a21338b04aa4db9a962"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab450e763aa797f1a6ad60c6288139a95"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="g_global_8h.html#ab450e763aa797f1a6ad60c6288139a95">G_ASSERT</a>(cond)&#160;&#160;&#160;<a class="el" href="g_global_8h.html#a7be00a5ad7c38c52c9eda2d2e51d6204">doNothing</a>()</td></tr>
<tr class="separator:ab450e763aa797f1a6ad60c6288139a95"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
类型定义</h2></td></tr>
<tr class="memitem:a7e10d76994c6d6f42216e5a310255abf"><td class="memItemLeft" align="right" valign="top">typedef int16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a></td></tr>
<tr class="separator:a7e10d76994c6d6f42216e5a310255abf"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
枚举</h2></td></tr>
<tr class="memitem:ae568c4cf9a0ef24f98b56baec8e2e3d9"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9">Giveda::Key</a> { <br/>
&#160;&#160;<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a12ab2810658bfa8a45b94869dee06f4b">Giveda::Key_Esc</a> = 0x2000, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a16cc33153897a1f70d924367bccbac02">Giveda::Key_Escape</a> =Key_Esc, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a8caea0738266be2aba9a1de55836ec53">Giveda::Key_Backspace</a>, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9ac1ceeeee63884f5f940df8d807efcdf8">Giveda::Key_BackSpace</a> = Key_Backspace, 
<br/>
&#160;&#160;<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9ad13e4bfa4d5a822021af6d616ce344a9">Giveda::Key_Back</a> =Key_Backspace, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a2c909eb390a45a32134a587e2a40a5db">Giveda::Key_Enter</a>, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a95346ecaafc2844ed3c0bf9278fc60af">Giveda::Key_Return</a> = Key_Enter, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9aec47eaa1470c4c1ebad87ec25beacc61">Giveda::Key_Left</a>, 
<br/>
&#160;&#160;<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a8272d0f9bc1884499524d3661a9de478">Giveda::Key_Up</a>, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9ac834d4cb09a0834ef6641fb8889967a3">Giveda::Key_Right</a>, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a2a235f8628bcf201a46b6172a4406e97">Giveda::Key_Down</a>, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a1cb237ca8ee1acf61618f3303ef947fb">Giveda::Key_Home</a>, 
<br/>
&#160;&#160;<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a2b772d37f7cece2f3727f791699cd697">Giveda::Key_Meta</a>, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a23cbad8994ed507bcc9fdbd68722eaf5">Giveda::Key_Menu</a> =Key_Meta, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a57ef9bf8e9130c2c558dbb0308453dcc">Giveda::Key_PageUp</a>, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9af383849bf16ed6e3e77355f0fba0ccd8">Giveda::Key_Prior</a> = Key_PageUp, 
<br/>
&#160;&#160;<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a6bd0d1bb741bd764cb84149292bea3bb">Giveda::Key_PageDown</a>, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9afef7b89ed4e914f6a18da45a19999756">Giveda::Key_Next</a> = Key_PageDown, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a7b5775e2c0c319be0ca7c8f8a4cb3da2">Giveda::Key_F1</a>, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a1235cc6d4fe09348558e349668688072">Giveda::Key_F2</a>, 
<br/>
&#160;&#160;<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a99b85ff19958a2c6679eeb2c99125953">Giveda::Key_F3</a>, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9af4640e71b60efb333ba78c2c56ffe2c7">Giveda::Key_F4</a>, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9ae42195baa2db9fb5844ed1f1be0d8285">Giveda::Key_F5</a>, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9ac89aa93ea65bb6a2a7c25e8a98e2644b">Giveda::Key_F6</a>, 
<br/>
&#160;&#160;<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9af829e82fa5ab654cf904a5be819aea09">Giveda::Key_F7</a>, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a0c3b57946fa328b3c950cdd3e89ef883">Giveda::Key_F8</a>, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a1590af473eb3fcbfee5cca0a40d17988">Giveda::Key_F9</a>, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a7b7c443877715b8d348cb6a784b2b66f">Giveda::Key_F10</a>, 
<br/>
&#160;&#160;<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9aa8cee4ac07322505763cc637bf20338e">Giveda::Key_F11</a>, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a3bda098e08ac8bdbe9947496fb5641e0">Giveda::Key_F12</a>, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9aab3679b258dc80c19f886ee7b86eec42">Giveda::Key_F13</a>, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a6e4ccf19a6b04321601d1a419ceee901">Giveda::Key_F14</a>, 
<br/>
&#160;&#160;<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9acf1c66d0748704d71ddd437cc93986a4">Giveda::Key_F15</a>, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a562f1ddf91a34cd778d10c514f1aaf63">Giveda::Key_F16</a>, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a06b7cd89e8ca9a20aa3beef0a5760c5e">Giveda::Key_F17</a>, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a9eab833f54c0f2d679592f285fdee81a">Giveda::Key_F18</a>, 
<br/>
&#160;&#160;<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a4a969bd364a769a7217a972175cb341d">Giveda::Key_F19</a>, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9aa22bb8bd490c3b27580be7015a75b403">Giveda::Key_F20</a>, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a1d3fe2e40c410b4c7feec456ab0f5a45">Giveda::Key_F21</a>, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a7ed2b8a6add9ab9fab76806532bd6743">Giveda::Key_F22</a>, 
<br/>
&#160;&#160;<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a27ed0c72f9d9a0872db988d981680513">Giveda::Key_F23</a>, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9ad6ad00345032739ca86c9158f70b131b">Giveda::Key_F24</a>, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9ae742238dde094f146a8c5522cfab8ae2">Giveda::Key_Space</a> = 0x20, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a42446db65654a7e33eb6eea6c2738075">Giveda::Key_Any</a> = Key_Space, 
<br/>
&#160;&#160;<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a3e096e61717402105841f0c5cb969c5f">Giveda::Key_0</a> = 0x30, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a704adbb1463ababa3f453c55fdacb676">Giveda::Key_1</a> = 0x31, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9ad51c1ad886c694e6d394e101387dba2e">Giveda::Key_2</a> = 0x32, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a4427ec2821c7f5738b09b388fff42cf9">Giveda::Key_3</a> = 0x33, 
<br/>
&#160;&#160;<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9accbb6dca405927172405406d00588247">Giveda::Key_4</a> = 0x34, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a34ceaff69d84c5b579504efc7a3ba447">Giveda::Key_5</a> = 0x35, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a731ad482539333fe68be5a16bb7e802e">Giveda::Key_6</a> = 0x36, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a523447150a8d025e1c7067019d430bf6">Giveda::Key_7</a> = 0x37, 
<br/>
&#160;&#160;<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9ae97476910cff4e9f3df101dbb2a393c0">Giveda::Key_8</a> = 0x38, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a7eb3900d5c972ccff6ad79a0739206e9">Giveda::Key_9</a> = 0x39, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a30ab2eaeb6e7d7311d08b67c04063b35">Giveda::Key_A</a> = 0x41, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a01394ae023152f6004f54f1085fbc47a">Giveda::Key_B</a> = 0x42, 
<br/>
&#160;&#160;<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a24994ab6f1815e61f721f4ebc6ef4e04">Giveda::Key_C</a> = 0x43, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a14bd2535679125448ef3b7cbe86df7b4">Giveda::Key_D</a> = 0x44, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9aca75cc38781826c35b156d0f63e1a455">Giveda::Key_E</a> = 0x45, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a8648780a48a552f1f887cdbb1ce7a51c">Giveda::Key_F</a> = 0x46, 
<br/>
&#160;&#160;<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9aa95641c880e5f487bbdb3c736272891e">Giveda::Key_G</a> = 0x47, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a32ccd5b5319273a28351a8f9e4d95944">Giveda::Key_H</a> = 0x48, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a2f4165f6ddf199a08f1d371a854f2a70">Giveda::Key_I</a> = 0x49, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9acea42cf97e837436a1bb72d1504d0b8b">Giveda::Key_J</a> = 0x4a, 
<br/>
&#160;&#160;<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a16369745466c5076b6a72ccfde32e7be">Giveda::Key_K</a> = 0x4b, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a59448f5e338adc9aef81f992e896edc8">Giveda::Key_L</a> = 0x4c, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a7d241f6e8141d7c4c0fb602a96699b75">Giveda::Key_M</a> = 0x4d, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9abbbc8c097e07ce97cb48ef20a7471457">Giveda::Key_N</a> = 0x4e, 
<br/>
&#160;&#160;<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a4dc01dba41b8b5dfc61f1e78d18333b7">Giveda::Key_O</a> = 0x4f, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a66f537ec06959de891e2bd8e74fe0615">Giveda::Key_P</a> = 0x50, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a70d2b6501418d50b5718002e9bd1c0be">Giveda::Key_Q</a> = 0x51, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a3a692f925a65e2c4aecb8bfa25b3d053">Giveda::Key_R</a> = 0x52, 
<br/>
&#160;&#160;<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9abeec4dce490d3eaa36e1052abfb2a6e6">Giveda::Key_S</a> = 0x53, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a525b90cbb9ab8f2cbf2ec0f9b4f4f3c9">Giveda::Key_T</a> = 0x54, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a8ec833f065dc4d62c2f8a8761767c217">Giveda::Key_U</a> = 0x55, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a64aa9031866817b067459547faef97f4">Giveda::Key_V</a> = 0x56, 
<br/>
&#160;&#160;<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9aef92604b0a21814ee9be8afeae01bef4">Giveda::Key_W</a> = 0x57, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9ae27c36a97041a3a49655df666781e03f">Giveda::Key_X</a> = 0x58, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9af01766a76cd1f4ee04d2347af2415e77">Giveda::Key_Y</a> = 0x59, 
<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9ad170732610863852aab6b00d8fb66b7d">Giveda::Key_Z</a> = 0x5a, 
<br/>
&#160;&#160;<a class="el" href="namespace_giveda.html#ae568c4cf9a0ef24f98b56baec8e2e3d9a601e1c2ff37e82d9c843730f3edff0fe">Giveda::Key_unknown</a> = 0xffff
<br/>
 }</td></tr>
<tr class="separator:ae568c4cf9a0ef24f98b56baec8e2e3d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab419cf6486f6468465b65951170ee90f"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_giveda.html#ab419cf6486f6468465b65951170ee90f">Giveda::MouseButton</a> { <a class="el" href="namespace_giveda.html#ab419cf6486f6468465b65951170ee90faab27eb9d9018163c98ca171f4320406b">Giveda::NoButton</a> = 0x00000000, 
<a class="el" href="namespace_giveda.html#ab419cf6486f6468465b65951170ee90fab8b8d8ac2b637826138a28fcf6284e92">Giveda::LeftButton</a> = 0x00000001, 
<a class="el" href="namespace_giveda.html#ab419cf6486f6468465b65951170ee90fa797bc84818ee675c4964c5c55895cca7">Giveda::RightButton</a> = 0x00000002, 
<a class="el" href="namespace_giveda.html#ab419cf6486f6468465b65951170ee90fae093c0e54f9efa54cd6415c55290f8e9">Giveda::MiddleButton</a> = 0x00000004
 }</td></tr>
<tr class="separator:ab419cf6486f6468465b65951170ee90f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:a7be00a5ad7c38c52c9eda2d2e51d6204"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="g_global_8h.html#a7be00a5ad7c38c52c9eda2d2e51d6204">doNothing</a> (void)</td></tr>
<tr class="separator:a7be00a5ad7c38c52c9eda2d2e51d6204"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82ed88a965a9bef735b185e2038e50f2"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:a82ed88a965a9bef735b185e2038e50f2"><td class="memTemplItemLeft" align="right" valign="top">const T &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="g_global_8h.html#a82ed88a965a9bef735b185e2038e50f2">gMin</a> (const T &amp;a, const T &amp;b)</td></tr>
<tr class="separator:a82ed88a965a9bef735b185e2038e50f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca9d3ba7d01bfd7becb22fa3f3c0eef7"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:aca9d3ba7d01bfd7becb22fa3f3c0eef7"><td class="memTemplItemLeft" align="right" valign="top">const T &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="g_global_8h.html#aca9d3ba7d01bfd7becb22fa3f3c0eef7">gMax</a> (const T &amp;a, const T &amp;b)</td></tr>
<tr class="separator:aca9d3ba7d01bfd7becb22fa3f3c0eef7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4dbf9d3fb7b8b3746baafc61240f2cb"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="g_global_8h.html#aa4dbf9d3fb7b8b3746baafc61240f2cb">gRound</a> (double d)</td></tr>
<tr class="separator:aa4dbf9d3fb7b8b3746baafc61240f2cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0170e1b2a16d25a121e9746ac0635fd9"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="g_global_8h.html#a0170e1b2a16d25a121e9746ac0635fd9">gIsNear0</a> (float f)</td></tr>
<tr class="separator:a0170e1b2a16d25a121e9746ac0635fd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>一些常用的宏定义／枚举／和函数 </p>
<dl class="section author"><dt>作者</dt><dd>明心 </dd></dl>
<dl class="section version"><dt>版本</dt><dd>1.0.0 </dd></dl>
<dl class="section date"><dt>日期</dt><dd>2019-2-6 </dd></dl>
</div><h2 class="groupheader">宏定义说明</h2>
<a class="anchor" id="ab450e763aa797f1a6ad60c6288139a95"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define G_ASSERT</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">cond</td><td>)</td>
          <td>&#160;&#160;&#160;<a class="el" href="g_global_8h.html#a7be00a5ad7c38c52c9eda2d2e51d6204">doNothing</a>()</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a1c0608f4c8b10a21338b04aa4db9a962"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define G_DISABLE_ASSIGN</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">Class</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>值:</b><div class="fragment"><div class="line"><span class="keyword">private</span>: \</div>
<div class="line">Class &amp;operator=(<span class="keyword">const</span> Class &amp;) { <span class="keywordflow">return</span> *<span class="keyword">this</span>; }</div>
</div><!-- fragment -->
<p>在ANSI c++标准下，使用此宏去禁用operator=函数 </p>

</div>
</div>
<a class="anchor" id="a7c4607edf7ad67ffe5224d0a57fc4d04"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define G_DISABLE_COPY</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">Class, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">BClass&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>值:</b><div class="fragment"><div class="line"><span class="keyword">private</span>: \</div>
<div class="line">    Class(<span class="keyword">const</span> Class &amp; r) : BClass(r) {} \</div>
<div class="line">    Class &amp;operator=(<span class="keyword">const</span> Class &amp;) { <span class="keywordflow">return</span> *<span class="keyword">this</span>; }</div>
</div><!-- fragment -->
<p>在ANSI c++标准下，使用此宏去禁用拷贝构造函数 </p>

</div>
</div>
<a class="anchor" id="a01b7a40e2ef3d16655c67ad809545848"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define G_DISABLE_COPY_1</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">Class</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>值:</b><div class="fragment"><div class="line"><span class="keyword">private</span>: \</div>
<div class="line">    Class(<span class="keyword">const</span> Class &amp;) {} \</div>
<div class="line">    Class &amp;operator=(<span class="keyword">const</span> Class &amp;) { <span class="keywordflow">return</span> *<span class="keyword">this</span>; }</div>
</div><!-- fragment -->
<p>在ANSI c++标准下，使用此宏去禁用拷贝构造函数 </p>

</div>
</div>
<a class="anchor" id="aedf7620bb172988301822508782a6262"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define G_UNUSED</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">a</td><td>)</td>
          <td>&#160;&#160;&#160;(a)=(a)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>未使用的变量在编译时会造成编译器警告，使用此宏来解决编译器警告 </p>

</div>
</div>
<a class="anchor" id="a9bbcd82e77c41df827c09759def05c9a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SAFE_DELETE</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">p</td><td>)</td>
          <td>&#160;&#160;&#160;if( p ) { delete p; p = NULL; }</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>很方便地delete 对象 </p>

</div>
</div>
<h2 class="groupheader">类型定义说明</h2>
<a class="anchor" id="a7e10d76994c6d6f42216e5a310255abf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef int16_t <a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">函数说明</h2>
<a class="anchor" id="a7be00a5ad7c38c52c9eda2d2e51d6204"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void doNothing </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a0170e1b2a16d25a121e9746ac0635fd9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool gIsNear0 </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>f</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="aca9d3ba7d01bfd7becb22fa3f3c0eef7"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const T&amp; gMax </td>
          <td>(</td>
          <td class="paramtype">const T &amp;&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const T &amp;&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a82ed88a965a9bef735b185e2038e50f2"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const T&amp; gMin </td>
          <td>(</td>
          <td class="paramtype">const T &amp;&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const T &amp;&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="aa4dbf9d3fb7b8b3746baafc61240f2cb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int gRound </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>d</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
生成于 2019年 三月 23日 星期六 14:13:09 , 为 Giveda® Embedded Midware使用  &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
